<template>
    <el-breadcrumb :separator-icon="ArrowRight">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: route.path }">{{ route.meta.parent }}</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: route.path }">{{ route.meta.title }}</el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script setup>
import { ArrowRight } from '@element-plus/icons-vue'
import { useRoute } from 'vue-router'
const route = useRoute()

</script>
